package popcorn.ticket.serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import popcorn.ticket.dao.TypeClassMapper;
import popcorn.ticket.entity.TypeClass;
import popcorn.ticket.entity.TypeClassExample;
import popcorn.ticket.service.TypeClassService;

@Service
public class TypeClassServiceImpl implements TypeClassService {
	
	@Autowired
	TypeClassMapper tcm;
	
	@Override
	public int insert(TypeClass record) {
		// TODO Auto-generated method stub
		return tcm.insert(record);
	}

	@Override
	public int deleteByExample(TypeClassExample example) {
		// TODO Auto-generated method stub
		return tcm.deleteByExample(example);
	}

	@Override
	public List<TypeClass> selectByExample(TypeClassExample example) {
		// TODO Auto-generated method stub
		return tcm.selectByExample(example);
	}

}
